package im.eg.springdemo2.stuffs2;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class EgAspectJ {

    @Before("execution(* im.eg.springdemo2.stuffs2.AService.*(..))")
    public void myBefore() {
        System.out.println("开动了...");
    }
}